import React from 'react';
import './icons.scss';

const Profile = ({ name }) => {
  switch (name.toLowerCase()) {
    case 'buyer':
      return <Buyer />;
    case 'supplier':
      return <Supplier />;
    case 'transporter':
      return <Transporter />;
    case 'ggcb':
    case 'uscts':
      return <Auditor />;

    case 'factor 1':
    case 'factor 2':
      return <Factor />;

    default:
      return <Buyer />;
  }
};

const Factor = () => (
  <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
    <circle cx="10.5" cy="10.5" r="10" fill="#D3F3E8" stroke="#3FBEA5" />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M10.434 20.2451C15.8525 20.2451 20.2451 15.8525 20.2451 10.434C20.2451 5.0155 15.8525 0.622926 10.434 0.622926C5.0155 0.622926 0.622926 5.0155 0.622926 10.434C0.622926 15.8525 5.0155 20.2451 10.434 20.2451ZM10.434 20.868C16.1966 20.868 20.868 16.1966 20.868 10.434C20.868 4.67147 16.1966 0 10.434 0C4.67147 0 0 4.67147 0 10.434C0 16.1966 4.67147 20.868 10.434 20.868Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M17.8599 10.1225L10.2783 2.92127L2.69665 10.1226L17.8599 10.1225ZM10.4928 2.69544C10.3726 2.58127 10.184 2.58127 10.0638 2.69544L2.48215 9.89672C2.27815 10.0905 2.41529 10.434 2.69665 10.434H17.8599C18.1412 10.434 18.2784 10.0905 18.0744 9.89672L10.4928 2.69544Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M3.27036 10.7455H5.4506V16.6633H3.27036V10.7455ZM3.58183 11.0569V16.3518H5.13914V11.0569H3.58183Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M2.4917 16.9747H18.3763V17.2862H2.4917V16.9747Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M4.04902 18.2206H16.819V18.5321H4.04902V18.2206Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M7.31938 10.7455H9.49962V16.6633H7.31938V10.7455ZM7.63085 11.0569V16.3518H9.18816V11.0569H7.63085Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M11.0569 10.7455H13.2372V16.6633H11.0569V10.7455ZM11.3684 11.0569V16.3518H12.9257V11.0569H11.3684Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M15.106 10.7455H17.2862V16.6633H15.106V10.7455ZM15.4174 11.0569V16.3518H16.9747V11.0569H15.4174Z"
      fill="#3FBEA5"
    />
    <path
      d="M10.0453 8.78326V8.45061C9.68651 8.43068 9.40121 8.29987 9.18942 8.05817L9.37256 7.82271C9.55445 8.02703 9.7787 8.14414 10.0453 8.17404V7.26207C9.95063 7.23715 9.87339 7.21473 9.81359 7.1948C9.75628 7.17486 9.689 7.14621 9.61176 7.10883C9.53452 7.06897 9.47347 7.02661 9.42862 6.98176C9.38377 6.9369 9.34515 6.8796 9.31276 6.80983C9.28286 6.74006 9.2679 6.66033 9.2679 6.57062C9.2679 6.37876 9.34016 6.21929 9.48468 6.09222C9.6292 5.96514 9.81608 5.89537 10.0453 5.88291V5.53906H10.2733V5.88665C10.5748 5.91655 10.8202 6.02992 11.0096 6.22677L10.8227 6.45476C10.6757 6.29778 10.4926 6.2031 10.2733 6.17071V6.98176C10.3904 7.01415 10.4876 7.04654 10.5648 7.07893C10.6421 7.10883 10.7231 7.15244 10.8078 7.20975C10.895 7.26456 10.9598 7.33558 11.0021 7.42279C11.0445 7.50751 11.0657 7.60717 11.0657 7.72179C11.0657 7.91116 11.0009 8.07561 10.8713 8.21515C10.7417 8.35219 10.5424 8.43068 10.2733 8.45061V8.78326H10.0453ZM10.7442 7.74795C10.7442 7.63583 10.7031 7.54862 10.6209 7.48633C10.5412 7.42403 10.4253 7.37046 10.2733 7.32561V8.17404C10.4353 8.15659 10.5536 8.10676 10.6284 8.02453C10.7056 7.94231 10.7442 7.85011 10.7442 7.74795ZM9.58933 6.55194C9.58933 6.64662 9.62796 6.72137 9.7052 6.77619C9.78244 6.82852 9.89581 6.8771 10.0453 6.92195V6.15949C9.91076 6.16946 9.80113 6.21057 9.71641 6.28283C9.63169 6.3526 9.58933 6.4423 9.58933 6.55194Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M10.2783 9.34389C11.4824 9.34389 12.4585 8.36777 12.4585 7.16365C12.4585 5.95954 11.4824 4.98341 10.2783 4.98341C9.07417 4.98341 8.09804 5.95954 8.09804 7.16365C8.09804 8.36777 9.07417 9.34389 10.2783 9.34389ZM10.2783 9.65536C11.6544 9.65536 12.77 8.53978 12.77 7.16365C12.77 5.78752 11.6544 4.67195 10.2783 4.67195C8.90215 4.67195 7.78658 5.78752 7.78658 7.16365C7.78658 8.53978 8.90215 9.65536 10.2783 9.65536Z"
      fill="#3FBEA5"
    />
  </svg>
);

const Auditor = () => (
  <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
    <circle cx="10.5" cy="10.5" r="10" fill="#D3F3E8" stroke="#3FBEA5" />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M10.434 20.2451C15.8525 20.2451 20.2451 15.8525 20.2451 10.434C20.2451 5.0155 15.8525 0.622926 10.434 0.622926C5.0155 0.622926 0.622926 5.0155 0.622926 10.434C0.622926 15.8525 5.0155 20.2451 10.434 20.2451ZM10.434 20.868C16.1966 20.868 20.868 16.1966 20.868 10.434C20.868 4.67147 16.1966 0 10.434 0C4.67147 0 0 4.67147 0 10.434C0 16.1966 4.67147 20.868 10.434 20.868Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M10.434 15.2617C12.938 15.2617 14.9502 13.2999 14.9502 10.9012C14.9502 8.50253 12.938 6.54073 10.434 6.54073C7.93007 6.54073 5.9178 8.50253 5.9178 10.9012C5.9178 13.2999 7.93007 15.2617 10.434 15.2617ZM10.434 15.5732C13.1003 15.5732 15.2617 13.4815 15.2617 10.9012C15.2617 8.32096 13.1003 6.22926 10.434 6.22926C7.76776 6.22926 5.60634 8.32096 5.60634 10.9012C5.60634 13.4815 7.76776 15.5732 10.434 15.5732Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M10.434 14.0158C12.2534 14.0158 13.7044 12.6085 13.7044 10.9012C13.7044 9.19395 12.2534 7.78658 10.434 7.78658C8.61465 7.78658 7.16365 9.19395 7.16365 10.9012C7.16365 12.6085 8.61465 14.0158 10.434 14.0158ZM10.434 14.3273C12.4122 14.3273 14.0158 12.7934 14.0158 10.9012C14.0158 9.00903 12.4122 7.47511 10.434 7.47511C8.45583 7.47511 6.85219 9.00903 6.85219 10.9012C6.85219 12.7934 8.45583 14.3273 10.434 14.3273Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M2.9589 5.29487C2.9589 4.69282 3.44696 4.20475 4.04902 4.20475H9.65536C9.74136 4.20475 9.81109 4.27448 9.81109 4.36048C9.81109 4.44649 9.74136 4.51621 9.65536 4.51621H4.04902C3.61898 4.51621 3.27036 4.86483 3.27036 5.29487V16.1961C3.27036 16.2821 3.20064 16.3518 3.11463 16.3518C3.02862 16.3518 2.9589 16.2821 2.9589 16.1961V5.29487Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M13.2372 6.54073C13.2372 6.45472 13.3069 6.38499 13.3929 6.38499H17.1305C17.2165 6.38499 17.2862 6.45472 17.2862 6.54073C17.2862 6.62673 17.2165 6.69646 17.1305 6.69646H13.3929C13.3069 6.69646 13.2372 6.62673 13.2372 6.54073Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M12.3028 15.8846C12.3028 15.7986 12.3725 15.7289 12.4585 15.7289H17.1305C17.2165 15.7289 17.2862 15.7986 17.2862 15.8846C17.2862 15.9706 17.2165 16.0403 17.1305 16.0403H12.4585C12.3725 16.0403 12.3028 15.9706 12.3028 15.8846Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M14.7945 8.09804C14.7945 8.01203 14.8642 7.94231 14.9502 7.94231H17.1305C17.2165 7.94231 17.2862 8.01203 17.2862 8.09804C17.2862 8.18405 17.2165 8.25377 17.1305 8.25377H14.9502C14.8642 8.25377 14.7945 8.18405 14.7945 8.09804Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M14.1716 14.3273C14.1716 14.2413 14.2413 14.1716 14.3273 14.1716H17.1305C17.2165 14.1716 17.2862 14.2413 17.2862 14.3273C17.2862 14.4133 17.2165 14.483 17.1305 14.483H14.3273C14.2413 14.483 14.1716 14.4133 14.1716 14.3273Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M15.4174 9.65536C15.4174 9.56935 15.4871 9.49962 15.5732 9.49962H17.1305C17.2165 9.49962 17.2862 9.56935 17.2862 9.65536C17.2862 9.74136 17.2165 9.81109 17.1305 9.81109H15.5732C15.4871 9.81109 15.4174 9.74136 15.4174 9.65536Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M15.4174 11.2127C15.4174 11.1267 15.4871 11.0569 15.5732 11.0569H17.1305C17.2165 11.0569 17.2862 11.1267 17.2862 11.2127C17.2862 11.2987 17.2165 11.3684 17.1305 11.3684H15.5732C15.4871 11.3684 15.4174 11.2987 15.4174 11.2127Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M15.106 12.77C15.106 12.684 15.1757 12.6143 15.2617 12.6143H17.1305C17.2165 12.6143 17.2862 12.684 17.2862 12.77C17.2862 12.856 17.2165 12.9257 17.1305 12.9257H15.2617C15.1757 12.9257 15.106 12.856 15.106 12.77Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M11.5241 16.5075H9.34389V20.2451H11.5241V16.5075ZM9.34389 16.1961C9.17188 16.1961 9.03243 16.3355 9.03243 16.5075V20.2451C9.03243 20.4171 9.17188 20.5566 9.34389 20.5566H11.5241C11.6962 20.5566 11.8356 20.4171 11.8356 20.2451V16.5075C11.8356 16.3355 11.6962 16.1961 11.5241 16.1961H9.34389Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M10.2783 16.1961V15.4174H10.5897V16.1961H10.2783Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M11.0569 4.51621C10.7989 4.51621 10.5897 4.72538 10.5897 4.98341V6.02398C10.5897 6.10999 10.52 6.17971 10.434 6.17971C10.348 6.17971 10.2783 6.10999 10.2783 6.02398V4.98341C10.2783 4.55337 10.6269 4.20475 11.0569 4.20475H17.1305C17.5605 4.20475 17.9091 4.55337 17.9091 4.98341V17.0013L17.5977 17.322V4.98341C17.5977 4.72539 17.3885 4.51621 17.1305 4.51621H11.0569ZM11.5241 18.8435H16.1033L15.8846 19.0007L15.9955 19.155H11.5241V18.8435ZM4.67195 18.8435H9.34389V19.155H4.67195V18.8435Z"
      fill="#3FBEA5"
    />
  </svg>
);

const Transporter = () => (
  <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
    <circle cx="10.5" cy="10.5" r="10" fill="#D3F3E8" stroke="#3FBEA5" />
    <rect x="3.448" y="15.027" width="0.313" height="2.821" fill="#3FBEA5" />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M10.378 16.911C10.867 15.8576 10.8547 14.6086 10.0556 13.7368L10.318 13.4963C11.2428 14.5051 11.2305 15.9203 10.7009 17.0609C10.1725 18.199 9.10193 19.1229 7.83606 19.1229V18.7669C8.92093 18.7669 9.88767 17.967 10.378 16.911Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M13.9351 16.0417C14.7556 16.8635 15.9326 17.282 17.0261 16.8319L17.1616 17.1611C15.896 17.682 14.5717 17.1832 13.6831 16.2932C12.7966 15.4053 12.2977 14.0821 12.7335 12.8936L13.0678 13.0162C12.6943 14.0347 13.1124 15.2178 13.9351 16.0417Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M12.1812 18.5103C11.0645 18.8292 10.1277 19.6554 9.99077 20.83L9.63712 20.7888C9.79554 19.4294 10.8742 18.5133 12.0834 18.1679C13.2899 17.8234 14.6891 18.029 15.5169 18.9867L15.2476 19.2195C14.5381 18.3988 13.3007 18.1906 12.1812 18.5103Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M11.8444 9.55049C11.8444 9.55051 11.8445 9.55054 11.9106 9.38525C11.9767 9.21997 11.9768 9.22 11.9769 9.22003L11.9776 9.22032L11.9791 9.22091L11.9836 9.2228C11.9874 9.22439 11.9927 9.22662 11.9994 9.22953C12.0128 9.23533 12.0318 9.24383 12.0559 9.25522C12.104 9.27798 12.1726 9.31231 12.2572 9.35975C12.4264 9.45462 12.6602 9.60213 12.9236 9.81486C13.4507 10.2406 14.0963 10.9275 14.5797 11.9748L14.2564 12.124C13.7995 11.134 13.1915 10.4889 12.6999 10.0918C12.4539 9.89319 12.2371 9.75666 12.0831 9.67032C12.0061 9.62716 11.9449 9.59659 11.9037 9.57712C11.8831 9.56738 11.8675 9.56043 11.8575 9.55606C11.8525 9.55387 11.8488 9.55234 11.8466 9.55143L11.8444 9.55049C11.8444 9.5505 11.8443 9.55048 11.8444 9.55049ZM11.8444 9.55049C11.8443 9.55048 11.8444 9.5505 11.8444 9.55049V9.55049Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M8.9649 9.75899C10.859 9.75899 12.3944 8.20183 12.3944 6.28098C12.3944 4.36013 10.859 2.80298 8.9649 2.80298C7.07084 2.80298 5.5354 4.36013 5.5354 6.28098C5.5354 8.20183 7.07084 9.75899 8.9649 9.75899ZM8.9649 9.45655C10.6943 9.45655 12.0962 8.0348 12.0962 6.28098C12.0962 4.52716 10.6943 3.10541 8.9649 3.10541C7.23554 3.10541 5.83362 4.52716 5.83362 6.28098C5.83362 8.0348 7.23554 9.45655 8.9649 9.45655ZM7.62292 7.49072C7.62292 8.15125 8.18267 8.70047 8.89035 8.70047C9.59803 8.70047 10.1578 8.15125 10.1578 7.49072C10.1578 7.40721 10.2245 7.33951 10.3069 7.33951C10.3892 7.33951 10.456 7.40721 10.456 7.49072C10.456 8.33348 9.74733 9.0029 8.89035 9.0029C8.03337 9.0029 7.32471 8.33348 7.32471 7.49072C7.32471 7.40721 7.39146 7.33951 7.47381 7.33951C7.55616 7.33951 7.62292 7.40721 7.62292 7.49072ZM11.8146 9.12399C12.5562 9.46221 13.1971 9.98692 13.6794 10.6392H13.2994C12.9169 10.1731 12.444 9.78592 11.9079 9.50541C11.1853 10.2179 10.1345 10.6663 8.9649 10.6663C7.82378 10.6663 6.79577 10.2394 6.07525 9.557C4.68733 10.3272 3.74609 11.8218 3.74609 13.5394V15.354H3.76149V15.6565H3.44788V13.5394C3.44788 11.738 4.41853 10.1665 5.85836 9.33342L5.83362 9.30534H5.90757C5.98742 9.2604 6.06868 9.21772 6.15125 9.17738C6.18113 9.22077 6.21196 9.26343 6.2437 9.30534H6.24731C6.90873 9.95052 7.87131 10.3639 8.9649 10.3639C10.0585 10.3639 11.0211 9.95052 11.6825 9.30534H11.6861C11.7308 9.24635 11.7736 9.18588 11.8146 9.12399Z"
      fill="#3FBEA5"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M18.1278 17.3693C17.9609 14.3401 15.4516 11.9352 12.3807 11.9352C9.20184 11.9352 6.62484 14.5122 6.62484 17.6911C6.62484 18.6067 6.83863 19.4724 7.21902 20.2409L6.80794 20.2047C6.46159 19.438 6.2688 18.587 6.2688 17.6911C6.2688 14.3155 9.00521 11.5791 12.3807 11.5791C15.5215 11.5791 18.109 13.9482 18.4537 16.9968L18.1278 17.3693ZM8.30534 20.3368C7.8101 19.5755 7.52238 18.6669 7.52238 17.691C7.52238 15.0079 9.69748 12.8328 12.3806 12.8328C15.0637 12.8328 17.2388 15.0079 17.2388 17.691C17.2388 17.9503 17.2185 18.2049 17.1794 18.4532L16.6834 19.02C16.813 18.5999 16.8828 18.1536 16.8828 17.691C16.8828 15.2046 14.8671 13.1889 12.3806 13.1889C9.89411 13.1889 7.87842 15.2046 7.87842 17.691C7.87842 18.6979 8.20897 19.6277 8.76748 20.3776L8.30534 20.3368Z"
      fill="#3FBEA5"
    />
  </svg>
);

const Buyer = () => (
  <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
    <circle cx="12.5" cy="9.5" r="7.5" fill="#C4C4C4" />
    <circle cx="10.5" cy="10.5" r="10" fill="#D3F3E8" stroke="#3FBEA5" />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M12.7084 6.29881C12.7084 8.21965 11.173 9.77681 9.2789 9.77681C7.38484 9.77681 5.8494 8.21965 5.8494 6.29881C5.8494 4.37796 7.38484 2.8208 9.2789 2.8208C11.173 2.8208 12.7084 4.37796 12.7084 6.29881ZM12.4102 6.29881C12.4102 8.05262 11.0083 9.47437 9.2789 9.47437C7.54954 9.47437 6.14762 8.05262 6.14762 6.29881C6.14762 4.54499 7.54954 3.12324 9.2789 3.12324C11.0083 3.12324 12.4102 4.54499 12.4102 6.29881ZM9.20435 8.71829C8.49667 8.71829 7.93692 8.16907 7.93692 7.50855C7.93692 7.42503 7.87016 7.35733 7.78781 7.35733C7.70546 7.35733 7.6387 7.42503 7.6387 7.50855C7.6387 8.3513 8.34737 9.02072 9.20435 9.02072C10.0613 9.02072 10.77 8.3513 10.77 7.50855C10.77 7.42503 10.7032 7.35733 10.6209 7.35733C10.5385 7.35733 10.4718 7.42503 10.4718 7.50855C10.4718 8.16907 9.91203 8.71829 9.20435 8.71829ZM14.3641 17.8712V18.5172H14.6933V17.8712C15.2134 17.8373 15.5928 17.6873 15.8313 17.4212C16.0747 17.155 16.1964 16.8502 16.1964 16.5066C16.1964 16.284 16.1558 16.0929 16.0747 15.9332C15.9936 15.7687 15.8719 15.6332 15.7097 15.5267C15.5474 15.4203 15.3924 15.338 15.2444 15.2799C15.1013 15.217 14.9176 15.1541 14.6933 15.0912V13.2621C15.1609 13.3153 15.5355 13.5137 15.817 13.8573L16.089 13.5524C15.7311 13.1508 15.2659 12.9258 14.6933 12.8774V12.2169H14.3641V12.8774C13.9442 12.8967 13.5959 13.025 13.3192 13.2621C13.0424 13.4943 12.904 13.7944 12.904 14.1621C12.904 14.3654 12.9422 14.542 13.0186 14.692C13.0949 14.8372 13.2142 14.9605 13.3764 15.0622C13.5386 15.1589 13.6842 15.234 13.813 15.2872C13.9466 15.3356 14.1303 15.3936 14.3641 15.4614V17.4937C13.8249 17.455 13.3764 17.2228 13.0186 16.7969L12.7537 17.109C13.1355 17.5833 13.6722 17.8373 14.3641 17.8712ZM15.4878 15.9259C15.6739 16.0663 15.7669 16.2695 15.7669 16.5356C15.7669 16.7679 15.681 16.9784 15.5093 17.1671C15.3423 17.3558 15.0703 17.4647 14.6933 17.4937V15.5557C15.0417 15.6622 15.3065 15.7856 15.4878 15.9259ZM13.5983 14.6702C13.4217 14.5492 13.3335 14.3726 13.3335 14.1403C13.3335 13.8936 13.4289 13.6879 13.6198 13.5234C13.8154 13.3589 14.0635 13.2693 14.3641 13.2548V14.9968C14.0301 14.9001 13.7748 14.7912 13.5983 14.6702ZM18.5236 15.4475C18.5236 16.0758 18.381 16.6704 18.1269 17.1997L17.8212 17.4517C18.1723 16.8676 18.3745 16.1815 18.3745 15.4475C18.3745 13.3178 16.6722 11.5914 14.5723 11.5914C12.4723 11.5914 10.77 13.3178 10.77 15.4475C10.77 17.5771 12.4723 19.3035 14.5723 19.3035C15.0178 19.3035 15.4454 19.2258 15.8426 19.083L15.538 19.3342C15.229 19.4129 14.9054 19.4547 14.5723 19.4547C12.39 19.4547 10.6209 17.6606 10.6209 15.4475C10.6209 13.2343 12.39 11.4402 14.5723 11.4402C16.7546 11.4402 18.5236 13.2343 18.5236 15.4475ZM18.8219 15.4475C18.8219 15.9213 18.7465 16.3773 18.6072 16.8037L19.007 16.474C19.081 16.1439 19.1201 15.8003 19.1201 15.4475C19.1201 12.9003 17.084 10.8353 14.5723 10.8353C14.4242 10.8353 14.2778 10.8425 14.1333 10.8565C13.6383 10.1116 12.9443 9.51386 12.1286 9.14181C12.0876 9.2037 12.0448 9.26417 12.0001 9.32316H11.9965C11.3351 9.96834 10.3725 10.3817 9.2789 10.3817C8.18531 10.3817 7.22273 9.96834 6.56131 9.32316H6.5577C6.52595 9.28125 6.49513 9.23859 6.46525 9.1952C6.38268 9.23554 6.30142 9.27822 6.22157 9.32316H6.14762L6.17236 9.35124C4.73252 10.1843 3.76188 11.7558 3.76188 13.5573V15.0448H3.76123V17.8657H4.07466V15.0448H4.06009V13.5573C4.06009 11.8396 5.00133 10.345 6.38925 9.57483C7.10977 10.2573 8.13778 10.6841 9.2789 10.6841C10.4485 10.6841 11.4993 10.2357 12.2219 9.52324C12.8491 9.85142 13.3899 10.3256 13.8006 10.9015C11.7262 11.261 10.1313 13.0453 10.0296 15.226V15.6743H10.0298C10.1465 18.1161 12.1356 20.0596 14.5723 20.0596C14.6013 20.0596 14.6303 20.0593 14.6592 20.0588L15.0589 19.7292C14.8992 19.7477 14.7368 19.7572 14.5723 19.7572C12.2253 19.7572 10.3227 17.8277 10.3227 15.4475C10.3227 13.0673 12.2253 11.1378 14.5723 11.1378C16.9193 11.1378 18.8219 13.0673 18.8219 15.4475Z"
      fill="#3FBEA5"
    />
  </svg>
);

const Supplier = () => (
  <svg
    className="role-icon"
    width="21"
    height="21"
    viewBox="0 0 59 59"
    fill="none"
    xmlns="http://www.w3.org/2000/svg"
  >
    <circle
      cx="29.491"
      cy="29.491"
      r="28.491"
      className="role-icon__circle"
      stroke="#69D7BC"
      strokeWidth="2"
      fill="#D3F3E8"
    />
    <path d="M31.6919 34.333V57.6618" stroke="#69D7BC" />
    <path d="M25.3091 38.0747H48.6378" stroke="#69D7BC" />
    <path d="M33.4521 26.4102C33.4521 26.4102 37.8538 28.1708 40.4948 33.893" stroke="#69D7BC" />
    <rect x="9.684" y="42.256" width="0.88" height="7.923" fill="#69D7BC" />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M25.1791 27.46C30.4989 27.46 34.8115 23.0865 34.8115 17.6914C34.8115 12.2964 30.4989 7.92285 25.1791 7.92285C19.8593 7.92285 15.5468 12.2964 15.5468 17.6914C15.5468 23.0865 19.8593 27.46 25.1791 27.46ZM25.1791 26.6106C30.0363 26.6106 33.9739 22.6173 33.9739 17.6914C33.9739 12.7655 30.0363 8.77229 25.1791 8.77229C20.3219 8.77229 16.3844 12.7655 16.3844 17.6914C16.3844 22.6173 20.3219 26.6106 25.1791 26.6106ZM21.4099 21.0892C21.4099 22.9444 22.9821 24.487 24.9697 24.487C26.9573 24.487 28.5295 22.9444 28.5295 21.0892C28.5295 20.8546 28.717 20.6645 28.9483 20.6645C29.1796 20.6645 29.3671 20.8546 29.3671 21.0892C29.3671 23.4562 27.3767 25.3364 24.9697 25.3364C22.5627 25.3364 20.5723 23.4562 20.5723 21.0892C20.5723 20.8546 20.7598 20.6645 20.9911 20.6645C21.2224 20.6645 21.4099 20.8546 21.4099 21.0892ZM33.183 25.6765C35.2655 26.6263 37.0655 28.0998 38.4201 29.9315H37.3528C36.2785 28.6226 34.9504 27.5355 33.4451 26.7478C31.4155 28.7488 28.4642 30.0083 25.1791 30.0083C21.9741 30.0083 19.0867 28.8094 17.063 26.8927C13.1648 29.0558 10.5212 33.2538 10.5212 38.078V43.1747H10.5646V44.0241H9.68359V38.078C9.68359 33.0184 12.4098 28.6045 16.4538 26.2647C16.4305 26.2385 16.4074 26.2122 16.3844 26.1858H16.5921C16.8163 26.0596 17.0446 25.9398 17.2765 25.8265C17.3604 25.9483 17.447 26.0681 17.5362 26.1858H17.5463C19.404 27.998 22.1076 29.1589 25.1791 29.1589C28.2507 29.1589 30.9542 27.998 32.8119 26.1858H32.8221C32.9476 26.0202 33.0679 25.8503 33.183 25.6765Z"
      fill="#69D7BC"
    />
    <path
      d="M25.1489 33.9521H48.7982V50.8125C48.7748 50.8303 48.7493 50.8496 48.7218 50.8703C48.5458 51.0032 48.2876 51.1951 47.961 51.4299C47.3074 51.8997 46.3811 52.5399 45.2918 53.2207C43.1028 54.5888 40.2956 56.0953 37.7326 56.736C35.1372 57.3849 31.8728 57.7129 29.2395 57.8775C27.9265 57.9595 26.7775 58.0006 25.9569 58.0211C25.6328 58.0292 25.3601 58.0341 25.1489 58.037V33.9521Z"
      stroke="#69D7BC"
      strokeLinecap="round"
      strokeLinejoin="round"
    />
    <path
      fillRule="evenodd"
      clipRule="evenodd"
      d="M35.9648 17.6063C35.9706 17.4603 35.9735 17.3136 35.9735 17.1662C35.9735 11.1549 31.1004 6.28174 25.089 6.28174C19.0777 6.28174 14.2046 11.1549 14.2046 17.1662C14.2046 17.3136 14.2075 17.4603 14.2133 17.6063H13.2126C13.2073 17.4603 13.2046 17.3135 13.2046 17.1662C13.2046 10.6026 18.5254 5.28174 25.089 5.28174C31.6526 5.28174 36.9735 10.6026 36.9735 17.1662C36.9735 17.3135 36.9708 17.4603 36.9655 17.6063H35.9648Z"
      fill="#69D7BC"
    />
    <circle cx="13.645" cy="17.167" r="1.321" fill="#69D7BC" />
    <circle cx="36.534" cy="17.167" r="1.321" fill="#69D7BC" />
  </svg>
);

export default Profile;
